import Layout from "../views/Layout.vue";

export default {
  path: '/basics',
  name: 'BasicsNote',
  redirect: '/basics/note/home',
  component: Layout,
  meta: {
    title: '基础笔记',
    icon: 'el-icon-menu',
  },
  children: [
    {
      path: 'note/home',
      name: 'HomeIndex',
      meta: {
        hidden: true,
        title: '第一个3D场景',
      },
      component: () => import('../views/basics/note/home.vue')
    },
    {
      path: 'note/geometries',
      name: 'Geometries',
      component: () => import('../views/basics/note/multiple-geometry.vue'),
      meta: {
        title: '几何体'
      }
    },
    {
      path: 'note/fixed-point',
      name: 'FixedPoint',
      component: () => import('../views/basics/note/fixed-point.vue'),
      meta: {
        title: '顶点'
      }
    },
    {
      path: 'note/lines',
      name: 'Lines',
      meta: {
        title: '画线'
      },
      component: () => import('../views/basics/note/lines.vue')
    },
    // {
    //   path: 'first-lesson',
    //   name: 'firstLesson',
    //   meta: {
    //     title: '哔哩哔哩视频教程第一节'
    //   },
    //   component: () => import('../views/video-lesson/frist.vue')
    // },
    // {
    //   path: 'second-lesson',
    //   name: 'secondLesson',
    //   meta: {
    //     title: '添加threejs动效，简化试验，自适应场景'
    //   },
    //   component: () => import('../views/video-lesson/second.vue')
    // }
  ]
}